package com.ado.abyss.core.manager;

import com.ado.abyss.core.dal.model.SysMenu;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * @author adonais
 * @date 2020/7/9
 * @description SysMenuManager
 **/
public interface SysMenuManager extends IService<SysMenu> {


    /**
     *
     * @param name
     * @return
     */
    List<SysMenu> findByUserName(String name);

    /**
     *
     * @param id
     * @return
     */
    boolean deleteById(Long id);

    /**
     *
     * @param ids
     * @return
     */
    boolean deleteByIds(List<Long> ids);

    /**
     *
     * @return
     */
    List<SysMenu> findAll();
}
